function WarriorG1zStar1()
	
	-- if isAoE == nil then AoEToggle() end

	if dwap == nil then dwap = 0 end
	
	if GetShapeshiftForm() ~= 1 then CastShapeshiftForm(1) return end
	
	if ccrPIIC() and ccrValidTarget() then
	
		if SIR(6673) and not ccrPHB(6673) then ccrCast(6673) end
		if useCDS and SIR(1719) then if (not ccrPlayerHasTalent(12292) and (SpellCDDuration(86346) < 2 or not ccrTargetHasDebuffRemaining(86346, 5))) or ccrPHB(12292) then ccrCast(1719) end end
		-- if useCDS and SIR("Avatar") and ccrPHB(1719) then ccrCast("Avatar") end
		if useCDS and SIR(114207) and (ccrPHB(1719) or (SpellCDDuration(86346) < 2 or not ccrTargetHasDebuffRemaining(86346, 5))) then ccrCast(114207) end
		if useCDS and SIR(20572) and (ccrPHB(12292) or (not ccrPlayerHasTalent(12292) and ccrTargetHasDebuff(86346))) then ccrCast(20572) end -- placeholder for 85 to 90
		if useCDS and SIR(12292) and (ccrTargetHasDebuff(86346) or SpellCDDuration(86346) < 5) then ccrCast(12292) end
		if ccrPHBR(12880, 0.25) and SIR(18499) then ccrCast(18499) end
		-- single target
		if ccrPlayerCount() == 1 or isAoE == 0 then
			-- if SCA("Victory Rush") then ccrCastAttack("Victory Rush") return end
			-- if SCA("Impending Victory") then ccrCastAttack("Impending Victory") return end
			if SCA(78) and (ccrPlayerRage() > 115 or (IsSpellKnown(144436) and ccrTargetHasDebuff(86346) and ccrPlayerRage() > 60)) then ccrCastAttack(78) end
			if SCA(12294) and (not ccrPHB(12880) or ccrPlayerRage() < 10 or ccrTargetHasDebuffRemaining(115767, 1) or not ccrTargetHasDebuff(115767)) then ccrCastAttack(12294) return end
			if SCA(86346) and (not ccrTargetHasDebuff(86346) or ccrTargetHasDebuffRemaining(86346, 1)) then ccrCastAttack(86346) return end
			if SIR(46924) and ccrPlayerCount(8) > 0 then ccrCast(46924) return end
			if SpellCDDuration(86346) <= 0 and ccrPHB(46924) then CancelUnitBuff("player","Bladestorm") return end
			if SCA(12294) then ccrCastAttack(12294) return end
			-- if SCA("Dagon Roar") and ccrPlayerCount(8) > 0 and not ccrTargetHasDebuff(86346) then ccrCast("Dragon Roar") return end
			if SCA(5308) and (not ccrPHB(139958) or not ccrPHB(60503) or ccrPlayerRage() > 90) then ccrCastAttack(5308) return end
			if SCA(1464) and ccrTargetHealth() >= 20 and ccrPHB(1719) then ccrCastAttack(1464) return end
			if SCA(7384) and ((ccrTargetHealth() >= 20 and ccrPlayerRage() < 100) or (ccrPHB(139958))) then ccrCastAttack(7384) return end
			if SCA(5308) then ccrCastAttack(5308) return end
			if SCA(1464) and ccrTargetHealth() >= 20 then ccrCastAttack(1464) return end
			if SCA(57755) then ccrCastAttack(57755) return end
			if SIR(6673) then ccrCast(6673) return end
		end
		-- aoe
		if ccrPlayerCount() > 1 and ccRS.Manual_AoE then
			-- if SCA("Victory Rush") then ccrCastAttack("Victory Rush") return end
			if SIR(12328) then ccrCast(12328) return end
			if ccrRage() > 110 and ccrPlayerCount() <= 4 then ccrCastAttack("Cleave") return end
			if SIR(46924) then ccrCast(46924) return end
			if SCA(86346) and (not ccrTargetHasDebuff(86346) or ccrTargetHasDebuffRemaining(86346, 1)) then ccrCastAttack(86346) return end
			if not ccrTargetHasDebuff(115767) and ccrPlayerCount(8) > 1 and SCA("Thunder Clap") then
				ccrCastAttack("Thunder Clap")
				dwap = UnitAttackPower("player")
				return
			end
			if SCA("Thunder Clap") and ccrPlayerCount(8) > 1 and dwap*1.1 < UnitAttackPower("player") then
				ccrCastAttack("Thunder Clap")
				dwap = UnitAttackPower("player")
				return
			end
			if SCA(12294) and (ccrPlayerCount() == 2 or ccrRage() <= 50) then ccrCastAttack(12294) return end
			if SCA(5308) and (ccrPlayerCount() == 2 and not ccrPHB(139958)) then ccrCastAttack(5308) return end
			if SCA(1464) and ccrPHB(12328) and ccrTargetHasDebuff(86346) then ccrCastAttack(1464) return end
			if SCA(7384) and ccrPlayerCount() == 2 then ccrCastAttack(7384) return end
			if SCA(1464) and ccrPHB(12328) then ccrCastAttack(1464) return end
			if SIR(6673) then ccrCast(6673) return end
		end
	end
end